package com.novel.pojo.novel;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 用户推荐记录表
 */
@Data
@Table(name = "novel_recommend")
public class NovelRecommend {
    @Id
    private String id;//主键id
    private String userId;//用户id
    private String novelId;//小说id
    private String authorId;//作者id
    private Integer amount;//推荐票数
    private Date createdTime;//创建时间
    private String createdIp;//操作时的ip
}